Linear-Time Reordering in a Sweep-line Algorithm for Algebraic Curves Intersecting in a Common Point
نویسندگان
چکیده
The Bentley Ottmann sweep line algorithm is a standard tool to compute the arrangement of algebraic curves in the plane. If degenerate positions are not excluded from the input, variants of this algorithm must, among other things, handle k ≥ 2 curves intersecting simultaneously in a single intersection point. In that situation, the algorithm knows the order of the curves immediately left of the intersection point and needs to compute the order immediately right of the intersection point. Segments and lines can be reordered efficiently in linear time by simply reversing their order, except for overlapping segments. Algebraic curves can be sorted with O(k logk) geometric comparisons in their order immediately right of the intersection point. A previous result shows that algebraic curves whose degree is at most d can be reordered in O(d2k) time, which is for constant d better than sorting. In this paper, we improve the complexity of the reordering of algebraic curves to O(k) time, i.e., independent of the degree of the algebraic curves. The maybe surprising implication is that algebraic curves, even of unbounded algebraic degree, cannot realize all possible permutations of their vertical order while passing through a common intersection from left to right. We give a short example for an infeasible permutation. Both linear time algorithms require the knowledge of the intersection multiplicities of curves that are neighbors immediately left of the intersection point, i.e., k−1 intersection multiplicities.
منابع مشابه
Sweep Line Algorithm for Convex Hull Revisited
Convex hull of some given points is the intersection of all convex sets containing them. It is used as primary structure in many other problems in computational geometry and other areas like image processing, model identification, geographical data systems, and triangular computation of a set of points and so on. Computing the convex hull of a set of point is one of the most fundamental and imp...
متن کاملAbout One Sweep Algorithm for Solving Linear-Quadratic Optimization Problem with Unseparated Two-Point Boundary Conditions
In the paper a linear-quadratic optimization problem (LCTOR) with unseparated two-point boundary conditions is considered. To solve this problem is proposed a new sweep algorithm which increases doubles the dimension of the original system. In contrast to the well-known methods, here it refuses to solve linear matrix and nonlinear Riccati equations, since the solution of such multi-point optimi...
متن کاملAn Inconsistency Sensitive Arrangement Algorithm for Curve Segments
We present a robust arrangement algorithm for algebraic curves based on floating point arithmetic. The algorithm performs a line sweep, tests the consistency of each sweep update, and modifies the input to prevent inconsistent updates. The output arrangement is realizable by semi-algebraic curves that are close to the input curves. We present a new performance model for robust computational geo...
متن کاملJacobi Curves: Computing the Exact Topology of Arrangements of Non-singular Algebraic Curves
We present an approach that extends the BentleyOttmann sweep-line algorithm [3] to the exact computation of the topology of arrangements induced by non-singular algebraic curves of arbitrary degrees. Algebraic curves of degree greater than 1 are difficult to handle in case one is interested in exact and efficient solutions. In general, the coordinates of intersection points of two curves are no...
متن کاملAn Elementary Algorithm for Reporting Intersections of Red/Blue Curve Segments
Let and be two sets of -monotone and non-intersecting curve segments, and . We give a new sweep-line algorithm that reports the intersecting pairs of segments of . Our algorithm uses only three simple predicates that allow to decide if two segments intersect, if a point is left or right to another point, and if a point is above, below or on a segment. These three predicates seem to be the simpl...
متن کامل